package vg.services.plugin_manager.event_and_request.event.graph_editor;

import vg.services.data_base_manager.data.graph.Vertex;
import vg.services.plugin_manager.event_and_request.event.AUIEvent;
import vg.services.plugin_manager.event_and_request.event.EUIEventType;

public class AddVertexEvent extends AUIEvent {
	private Vertex vertex;
	
	public AddVertexEvent(Vertex vertex) {
		super(EUIEventType.DEF_ADD_VERTEX);
		
		this.vertex = vertex;
	}

	public Vertex getVertex() {
		return vertex;
	}
}
